﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace Forging2.DataBase.QID_IGDATA_ZY
{
    public partial class V_WorkRecord
    {        
        public int ID { get; set; }

        [Key]
        [StringLength(50)]
        public string WorkRecord_id { get; set; }

        
        [StringLength(50)]
        public string ForgeNo { get; set; }

        [StringLength(50)]
        public string ForgeName { get; set; }

        public byte RecordType { get; set; }

        [StringLength(50)]
        public string JobNo { get; set; }

        public byte LayerCount { get; set; }

        [StringLength(50)]
        public string Icmo_id { get; set; }

        [StringLength(50)]
        public string Route_id { get; set; }

        [StringLength(50)]
        public string WorkCellNo { get; set; }  

        public byte CombineMethod { get; set; }

        public DateTime CreateDate { get; set; }

        public byte State { get; set; }

        public byte IsDelete { get; set; }

        public int BeginHeight { get; set; }

        public int BeginTemperature { get; set; }
        
        public DateTime BeginTime { get; set; }

        public DateTime EndTime { get; set; }

        public int EndHeight { get; set; }

        public int EndTemperature { get; set; }

        public byte? HeatCount { get; set; }

        [StringLength(50)]
        public string Parameter_id { get; set; }
    }
}
